﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="../themes/default/easyui.css" rel="stylesheet" />
    <link href="../themes/icon.css" rel="stylesheet" />
    <script src="../jquery-easyui-1.4.3/jquery.min.js"></script>
    <script src="../jquery-easyui-1.4.3/jquery.easyui.min.js"></script>
    <title></title>
	<meta charset="utf-8" />
    <script>
        $(function () {
            $('#dl').validatebox({
                required: true,

            });
            $('#zs').validatebox({
                required: true,

            });
            $('#lx').validatebox({
                required: true,

            });
           
            $('#js').combo({
                required: true,
                editable: false
            })
            $('#jsjs').appendTo($('#js').combo('panel'));
            $('#jsjs input').click(function () {
                var v = $(this).val();
                var s = $(this).next('span').text();
                $('#js').combo('setValue', v).combo('setText', s).combo('hidePanel');
            });

        });</script>

</head>
<body>
    <div id="jsjs">
        <input type="radio" value="01" name="2" /><span>sss</span><br />
        <input type="radio" value="02" name="2" /><span>scc</span><br />
        <input type="radio" value="03" name="2" /><span>fff</span><br />
        <input type="radio" value="04" name="2" /><span>ddd</span>
    </div>
    <table style="text-align:center"><tr><td> 登录名：</td><td><input id="dl" /></td></tr>
           <tr><td>真实姓名：</td><td><input id="zs" /></td></tr>
           <tr><td>性别：</td><td><input id="rd1" type="radio" name="1" />男<input id="rd2" type="radio" name="1" />女</td></tr>
           <tr><td>联系电话：</td><td><input id="lx" /></td></tr>
           <tr><td> 角色：</td><td><select id="js" style="width:150px"></select>
</td></tr>
           <tr><td>是否可以删除：</td><td><input id="sf" type="checkbox" />是</td></tr>
           <tr><td colspan="2"><input id="btAdd" type="button" value="新增" /></td></tr>
    </table>
</body>
</html>
